<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsAddress" targetNamespace="http://tempuri.org/dsAddress.xsd" xmlns:mstns="http://tempuri.org/dsAddress.xsd" xmlns="http://tempuri.org/dsAddress.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="p301ConnString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="p301ConnString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.p301.Properties.Settings.GlobalReference.Default.p301ConnString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtAdrTableAdapter" GeneratorDataComponentClassName="dtAdrTableAdapter" Name="dtAdr" UserDataComponentName="dtAdrTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="p301ConnString (Settings)" DbObjectName="p301.dbo.b_adr" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>select *
from b_adr
where K_ADR = @pK_ADR</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="pK_ADR" ColumnName="K_ADR" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pK_ADR" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_ADR" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>UPDATE    b_adr
SET              K_UL = @K_UL, A_DOM = @A_DOM, A_KORP = @A_KORP, A_KV = @A_KV, A_GOROD = @A_GOROD, A_OBL = @A_OBL, A_RN = @A_RN, 
                      K_RN_G = @K_RN_G, N_TEL = @N_TEL, F_TEL_RAB = @F_TEL_RAB
WHERE     (K_ADR = @Original_K_ADR)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="K_UL" ColumnName="K_UL" DataSourceName="p301.dbo.b_adr" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@K_UL" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_UL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_DOM" ColumnName="A_DOM" DataSourceName="p301.dbo.b_adr" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@A_DOM" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="A_DOM" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_KORP" ColumnName="A_KORP" DataSourceName="p301.dbo.b_adr" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@A_KORP" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="A_KORP" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_KV" ColumnName="A_KV" DataSourceName="p301.dbo.b_adr" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@A_KV" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="A_KV" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_GOROD" ColumnName="A_GOROD" DataSourceName="p301.dbo.b_adr" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@A_GOROD" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="A_GOROD" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_OBL" ColumnName="A_OBL" DataSourceName="p301.dbo.b_adr" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@A_OBL" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="A_OBL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="A_RN" ColumnName="A_RN" DataSourceName="p301.dbo.b_adr" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@A_RN" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="A_RN" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="K_RN_G" ColumnName="K_RN_G" DataSourceName="p301.dbo.b_adr" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@K_RN_G" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_RN_G" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="N_TEL" ColumnName="N_TEL" DataSourceName="p301.dbo.b_adr" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@N_TEL" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="N_TEL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="F_TEL_RAB" ColumnName="F_TEL_RAB" DataSourceName="p301.dbo.b_adr" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@F_TEL_RAB" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="F_TEL_RAB" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="Original_K_ADR" ColumnName="K_ADR" DataSourceName="p301.dbo.b_adr" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_K_ADR" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_ADR" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="K_ADR" DataSetColumn="K_ADR" />
              <Mapping SourceColumn="A_OBL" DataSetColumn="A_OBL" />
              <Mapping SourceColumn="A_GOROD" DataSetColumn="A_GOROD" />
              <Mapping SourceColumn="A_RN" DataSetColumn="A_RN" />
              <Mapping SourceColumn="A_DOM" DataSetColumn="A_DOM" />
              <Mapping SourceColumn="A_KORP" DataSetColumn="A_KORP" />
              <Mapping SourceColumn="A_KV" DataSetColumn="A_KV" />
              <Mapping SourceColumn="K_RN_G" DataSetColumn="K_RN_G" />
              <Mapping SourceColumn="K_UL" DataSetColumn="K_UL" />
              <Mapping SourceColumn="N_TEL" DataSetColumn="N_TEL" />
              <Mapping SourceColumn="F_TEL_RAB" DataSetColumn="F_TEL_RAB" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsAddress" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsAddress" msprop:Generator_DataSetName="dsAddress">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dtAdr" msprop:Generator_UserTableName="dtAdr" msprop:Generator_RowDeletedName="dtAdrRowDeleted" msprop:Generator_TableClassName="dtAdrDataTable" msprop:Generator_RowChangedName="dtAdrRowChanged" msprop:Generator_RowClassName="dtAdrRow" msprop:Generator_RowChangingName="dtAdrRowChanging" msprop:Generator_RowEvArgName="dtAdrRowChangeEvent" msprop:Generator_RowEvHandlerName="dtAdrRowChangeEventHandler" msprop:Generator_TablePropName="dtAdr" msprop:Generator_TableVarName="tabledtAdr" msprop:Generator_RowDeletingName="dtAdrRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="K_ADR" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="K_ADR" msprop:Generator_ColumnPropNameInRow="K_ADR" msprop:Generator_ColumnVarNameInTable="columnK_ADR" msprop:Generator_ColumnPropNameInTable="K_ADRColumn" type="xs:int" />
              <xs:element name="A_OBL" msprop:Generator_UserColumnName="A_OBL" msprop:Generator_ColumnPropNameInRow="A_OBL" msprop:Generator_ColumnVarNameInTable="columnA_OBL" msprop:Generator_ColumnPropNameInTable="A_OBLColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="A_GOROD" msprop:Generator_UserColumnName="A_GOROD" msprop:Generator_ColumnPropNameInRow="A_GOROD" msprop:Generator_ColumnVarNameInTable="columnA_GOROD" msprop:Generator_ColumnPropNameInTable="A_GORODColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="A_RN" msprop:Generator_UserColumnName="A_RN" msprop:Generator_ColumnPropNameInRow="A_RN" msprop:Generator_ColumnVarNameInTable="columnA_RN" msprop:Generator_ColumnPropNameInTable="A_RNColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="A_DOM" msprop:Generator_UserColumnName="A_DOM" msprop:Generator_ColumnPropNameInRow="A_DOM" msprop:Generator_ColumnVarNameInTable="columnA_DOM" msprop:Generator_ColumnPropNameInTable="A_DOMColumn" type="xs:int" minOccurs="0" />
              <xs:element name="A_KORP" msprop:Generator_UserColumnName="A_KORP" msprop:Generator_ColumnPropNameInRow="A_KORP" msprop:Generator_ColumnVarNameInTable="columnA_KORP" msprop:Generator_ColumnPropNameInTable="A_KORPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="A_KV" msprop:Generator_UserColumnName="A_KV" msprop:Generator_ColumnPropNameInRow="A_KV" msprop:Generator_ColumnVarNameInTable="columnA_KV" msprop:Generator_ColumnPropNameInTable="A_KVColumn" type="xs:int" minOccurs="0" />
              <xs:element name="K_RN_G" msprop:Generator_UserColumnName="K_RN_G" msprop:Generator_ColumnPropNameInRow="K_RN_G" msprop:Generator_ColumnVarNameInTable="columnK_RN_G" msprop:Generator_ColumnPropNameInTable="K_RN_GColumn" type="xs:int" minOccurs="0" />
              <xs:element name="K_UL" msprop:Generator_UserColumnName="K_UL" msprop:Generator_ColumnPropNameInRow="K_UL" msprop:Generator_ColumnVarNameInTable="columnK_UL" msprop:Generator_ColumnPropNameInTable="K_ULColumn" type="xs:int" minOccurs="0" />
              <xs:element name="N_TEL" msprop:Generator_UserColumnName="N_TEL" msprop:Generator_ColumnPropNameInRow="N_TEL" msprop:Generator_ColumnVarNameInTable="columnN_TEL" msprop:Generator_ColumnPropNameInTable="N_TELColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="F_TEL_RAB" msprop:Generator_UserColumnName="F_TEL_RAB" msprop:Generator_ColumnPropNameInRow="F_TEL_RAB" msprop:Generator_ColumnVarNameInTable="columnF_TEL_RAB" msprop:Generator_ColumnPropNameInTable="F_TEL_RABColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtAdr" />
      <xs:field xpath="mstns:K_ADR" />
    </xs:unique>
  </xs:element>
</xs:schema>